package vcp.models;

import java.util.ArrayList;


import client.Message;
import vcp.common.AbstractModel;
import control.SimpleClient;
import db.parking.beans.Complaints;

public class ResolveComplaintsModel extends AbstractModel{

	public void loadComplaintsTableModel() {
		client = SimpleClient.getInstance();
		client.addPropertyChangeListener(this);
		Message msg = new Message(null,"GetComplaints");
		 try {
				client.sendToServer(msg);				
		 }
		 catch (Exception ex)
		 {
			 System.out.println(ex.toString()+"get->GetComplaints");
		 }	
		
		//Object arr[] = {12,18,2,1};
		//setChanged();
		//notifyObservers(arr);		
	}
    
}
